//
//  UIImageView+Tool.m
//  JadeShop
//
//  Created by mac on 2019/4/4.
//  Copyright © 2019年 SZJ.test. All rights reserved.
//

#import "UIImageView+Tool.h"
#import "LCAPI.h"
#import "UIImageView+WebCache.h"

static NSString *_cc_urlStr;
@implementation UIImageView (Tool)

-(void)lc_imageUrlStr:(NSString *)urlStr{
    UIImage *image = [UIImage imageNamed:urlStr];
    if (!image) {
        [self sd_setImageWithURL:[NSURL URLWithString:urlStr]];
    }else{
        self.image = image;
    }
}



@end
